package com.shu.logsearch.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * ES配置类
 */
@Component
@ConfigurationProperties("elastic.search")
@Data
public class ElasticSearchProperties {
    private String host;
    private Integer port;
    private String clusterName;
}
